package com.neu.yishu.mapper;

import com.neu.yishu.model.BookInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BookInfo record);

    BookInfo selectByPrimaryKey(Long id);

    List<BookInfo> selectAll();

    int updateByPrimaryKey(BookInfo record);
}